package com.seagox.chat.chat.service;

import com.seagox.chat.chat.entity.Calendar;
import com.seagox.chat.common.ResultData;

public interface ICalendarService {

    /**
     * 查询全部
     */
    public ResultData queryByDate(String userId, String day);

    /**
     * 新增
     */
    public ResultData insert(Calendar calendar);

    /**
     * 更新
     */
    public ResultData update(Calendar calendar);

    /**
     * 删除
     */
    public ResultData delete(String id);
    
}
